// File Name: key_interrupt.c
// Author: kukukukuku~
// Date: 2024-12-24

#include "apm32f00x_tmr1.h"
#include "./Key/inc/key_var.h"

void KEY_TMR_IRQ_HANDLE(void)
{
    if(TMR1_ReadIntFlag(KEY_TMR, TMR1_INT_UPDATE))
    {
        key_int_long_press_scan_callback(&keyClearObj);
        
        TMR1_ClearIntFlag(KEY_TMR, TMR1_INT_UPDATE);
    }
}
